<?php 

class ZendRestServerAdapter implements IRestServer
{
    
    private $_componentInstance = null;
    
    public function __construct()
    {
        $this->_componentInstance = new Zend_Rest_Server();
    }
    
    public function addFunction($functionName)
    {
        $this->_componentInstance->addFunction($functionName);
    }
    
    public function setClass($className)
    {
        $this->_componentInstance->setClass($className);
    }
    
    public function handle()
    {
        $this->_componentInstance->handle();
    }
   
}

?>